<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.15"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>SkyGameEngine2d: EventDispatcher类 参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">SkyGameEngine2d
   &#160;<span id="projectnumber">0.1</span>
   </div>
   <div id="projectbrief">基于Driectx112D游戏引擎</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.8.15 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'搜索');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','搜索');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#nested-classes">类</a> &#124;
<a href="#pub-methods">Public 成员函数</a> &#124;
<a href="#pub-static-methods">静态 Public 成员函数</a> &#124;
<a href="#friends">友元</a> &#124;
<a href="class_event_dispatcher-members.html">所有成员列表</a>  </div>
  <div class="headertitle">
<div class="title">EventDispatcher类 参考</div>  </div>
</div><!--header-->
<div class="contents">
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public 成员函数</h2></td></tr>
<tr class="memitem:a1e2d874aec0e61a827e795a629e57470"><td class="memItemLeft" align="right" valign="top"><a id="a1e2d874aec0e61a827e795a629e57470"></a>
int&#160;</td><td class="memItemRight" valign="bottom"><b>addListener</b> (const std::shared_ptr&lt; <a class="el" href="class_node.html">Node</a> &gt; &amp;target, const std::shared_ptr&lt; <a class="el" href="class_event_listener.html">EventListener</a> &gt; &amp;listenter)</td></tr>
<tr class="separator:a1e2d874aec0e61a827e795a629e57470"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad2c0f003732029e1ec5d091a1ae361eb"><td class="memItemLeft" align="right" valign="top"><a id="ad2c0f003732029e1ec5d091a1ae361eb"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>removeListenerAllByTarget</b> (const std::shared_ptr&lt; <a class="el" href="class_node.html">Node</a> &gt; &amp;tagert)</td></tr>
<tr class="separator:ad2c0f003732029e1ec5d091a1ae361eb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a55f267781658853246a4aabec0fd7732"><td class="memItemLeft" align="right" valign="top"><a id="a55f267781658853246a4aabec0fd7732"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>removeListener</b> (int id)</td></tr>
<tr class="separator:a55f267781658853246a4aabec0fd7732"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa090935f43db4faee55619d0b263197c"><td class="memItemLeft" align="right" valign="top"><a id="aa090935f43db4faee55619d0b263197c"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>removeListenerAll</b> ()</td></tr>
<tr class="separator:aa090935f43db4faee55619d0b263197c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1b9ee4b74a919eaf2f2fc10dc436fefb"><td class="memItemLeft" align="right" valign="top"><a id="a1b9ee4b74a919eaf2f2fc10dc436fefb"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>dispatchEvent</b> (<a class="el" href="class_event.html">Event</a> *e)</td></tr>
<tr class="separator:a1b9ee4b74a919eaf2f2fc10dc436fefb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9cfefe05e98404ca73900079ebe9495b"><td class="memItemLeft" align="right" valign="top"><a id="a9cfefe05e98404ca73900079ebe9495b"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>dispatchMouseEvent</b> (HWND hwnd, UINT msg, float x, float y)</td></tr>
<tr class="separator:a9cfefe05e98404ca73900079ebe9495b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a71975282625e44818e7eb434f1a68ad7"><td class="memItemLeft" align="right" valign="top"><a id="a71975282625e44818e7eb434f1a68ad7"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>dispatchKeyEvent</b> (HWND hwnd, UINT msg, WPARAM key)</td></tr>
<tr class="separator:a71975282625e44818e7eb434f1a68ad7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a99d7e373af11fa0fb4aef60314b961d7"><td class="memItemLeft" align="right" valign="top"><a id="a99d7e373af11fa0fb4aef60314b961d7"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>dispatchCharterEvent</b> (wchar_t ch)</td></tr>
<tr class="separator:a99d7e373af11fa0fb4aef60314b961d7"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
静态 Public 成员函数</h2></td></tr>
<tr class="memitem:a6c45cf49103ce9a2de9e3a354fed0e1b"><td class="memItemLeft" align="right" valign="top"><a id="a6c45cf49103ce9a2de9e3a354fed0e1b"></a>
static <a class="el" href="class_event_dispatcher.html">EventDispatcher</a> *&#160;</td><td class="memItemRight" valign="bottom"><b>getInstance</b> ()</td></tr>
<tr class="separator:a6c45cf49103ce9a2de9e3a354fed0e1b"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="friends"></a>
友元</h2></td></tr>
<tr class="memitem:a472874c5724681afe45342d8f7ccfe81"><td class="memItemLeft" align="right" valign="top"><a id="a472874c5724681afe45342d8f7ccfe81"></a>
class&#160;</td><td class="memItemRight" valign="bottom"><b>EventListener</b></td></tr>
<tr class="separator:a472874c5724681afe45342d8f7ccfe81"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<hr/>该类的文档由以下文件生成:<ul>
<li>E:/毕业设计/SkyGameEngine2d/src/base/<a class="el" href="_event_dispatcher_8h_source.html">EventDispatcher.h</a></li>
<li>E:/毕业设计/SkyGameEngine2d/src/base/EventDispatcher.cpp</li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
制作者 &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.15
</small></address>
</body>
</html>
